package com.itbbfx.mapper.hospitalization;

import com.itbbfx.entity.Lpharmacy;
import com.itbbfx.entity.Lrecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LdrugMapper {

    //查询药品信息
    List<Lpharmacy> selDrug(Lpharmacy lpharmacy);

    //查询用户的药品信息
    List<Lrecord> selDrugs(Lrecord lrecord);

    //移除患者的药品信息
    int delDrug(Lrecord lrecord);

    int updDrugs(Lrecord lrecord);

    //添加项目进账
    Integer addDrug(Lrecord lrecord);

    int updNum(Lrecord lrecord);

    int updDrug(Lrecord lrecord);

    int upd(Lrecord lrecord);

}
